package ${.BasePackageName}${.PackageName}.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ninelock.core.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/** @author ninelock-ai */
@Data
@TableName("${.TableName}")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ${.TableName | formatBigCamel} extends BaseEntity { ${range .Fields}${if formatEntityField .ColumnName}
  /** ${.ColumnComment} */${if eq .IsKey "TRUE"}
  @TableId(type = IdType.AUTO)${end}
  private ${.DataType | formatJavaDataType} ${.ColumnName | formatSmallCamel};${end}${end}
}
